// 模拟数据工具类
const MockData = {
  // 用户数据
  userInfo: {
    id: 1,
    username: 'zhongyi_user',
    phone: '13800138000',
    nickname: '中医学习者',
    avatar: 'https://via.placeholder.com/120x120/3cc51f/ffffff?text=头像',
    gender: 1,
    isVip: true,
    vipExpireTime: '2024-12-31',
    residentAddress: '北京市朝阳区',
    createTime: '2024-01-01 10:00:00'
  },

  // 轮播图数据
  banners: [
    {
      id: 1,
      imageUrl: 'https://via.placeholder.com/750x400/3cc51f/ffffff?text=中医学习',
      title: '中医学习',
      linkUrl: '/pages/courses/courses'
    },
    {
      id: 2,
      imageUrl: 'https://via.placeholder.com/750x400/ff6b35/ffffff?text=穴位学习',
      title: '穴位学习',
      linkUrl: '/pages/acupoints/acupoints'
    },
    {
      id: 3,
      imageUrl: 'https://via.placeholder.com/750x400/1890ff/ffffff?text=课程推荐',
      title: '课程推荐',
      linkUrl: '/pages/courses/courses'
    }
  ],

  // 课程数据
  courses: [
    {
      id: 1,
      title: '中医基础理论',
      categoryId: 1,
      type: 'course',
      typeText: '课程',
      lecturerId: 1,
      cover: 'https://via.placeholder.com/500x300/3cc51f/ffffff?text=中医基础',
      intro: '系统学习中医基础理论，掌握中医核心概念',
      detail: '本课程将深入讲解中医基础理论，包括阴阳五行、脏腑经络等核心概念...',
      isFree: true,
      price: 0,
      duration: 120,
      viewCount: 1250,
      saleCount: 800,
      status: 1,
      createTime: '2024-01-01 10:00:00'
    },
    {
      id: 2,
      title: '穴位按摩手法',
      categoryId: 2,
      type: 'basic_skill',
      typeText: '手法',
      lecturerId: 2,
      cover: 'https://via.placeholder.com/500x300/ff6b35/ffffff?text=穴位按摩',
      intro: '学习常用穴位的按摩手法和技巧',
      detail: '本课程将教授常用穴位的按摩手法，包括按、揉、推、拿等基本技巧...',
      isFree: false,
      price: 99,
      duration: 90,
      viewCount: 890,
      saleCount: 450,
      status: 1,
      createTime: '2024-01-02 10:00:00'
    },
    {
      id: 3,
      title: '常见疾病护理',
      categoryId: 3,
      type: 'disease_care',
      typeText: '护理',
      lecturerId: 1,
      cover: 'https://via.placeholder.com/500x300/1890ff/ffffff?text=疾病护理',
      intro: '学习常见疾病的中医护理方法',
      detail: '本课程将介绍常见疾病的中医护理方法，包括感冒、咳嗽、失眠等...',
      isFree: false,
      price: 199,
      duration: 150,
      viewCount: 650,
      saleCount: 320,
      status: 1,
      createTime: '2024-01-03 10:00:00'
    }
  ],

  // 穴位数据
  acupoints: [
    {
      id: 1,
      imageTitle: '足三里穴',
      imageCategory: 1,
      categoryText: '成人',
      bodyPosition: '正面',
      imageUrl: 'https://via.placeholder.com/500x300/3cc51f/ffffff?text=足三里',
      thumbnailUrl: 'https://via.placeholder.com/200x120/3cc51f/ffffff?text=足三里',
      description: '足三里穴是足阳明胃经的主要穴位之一，位于小腿前外侧...',
      isFree: true,
      price: 0,
      viewCount: 2100,
      sortOrder: 1,
      createTime: '2024-01-01 10:00:00'
    },
    {
      id: 2,
      imageTitle: '合谷穴',
      imageCategory: 1,
      categoryText: '成人',
      bodyPosition: '正面',
      imageUrl: 'https://via.placeholder.com/500x300/ff6b35/ffffff?text=合谷穴',
      thumbnailUrl: 'https://via.placeholder.com/200x120/ff6b35/ffffff?text=合谷穴',
      description: '合谷穴是手阳明大肠经的原穴，位于手背第一、二掌骨间...',
      isFree: false,
      price: 29,
      viewCount: 1800,
      sortOrder: 2,
      createTime: '2024-01-02 10:00:00'
    }
  ],

  // 反射区数据
  reflexZones: [
    {
      id: 1,
      name: '心脏反射区',
      position: 'foot',
      positionText: '足部',
      location: '左脚掌第四、五跖骨之间',
      function: '调节心脏功能，缓解心悸、胸闷等症状',
      operation: '用拇指指腹按压，力度适中，每次3-5分钟',
      images: 'https://via.placeholder.com/120x120/3cc51f/ffffff?text=心脏',
      isFree: true,
      price: 0,
      createTime: '2024-01-01 10:00:00'
    },
    {
      id: 2,
      name: '肝脏反射区',
      position: 'foot',
      positionText: '足部',
      location: '右脚掌第四、五跖骨之间',
      function: '促进肝脏排毒，改善肝功能',
      operation: '用拇指指腹按压，力度适中，每次3-5分钟',
      images: 'https://via.placeholder.com/120x120/ff6b35/ffffff?text=肝脏',
      isFree: false,
      price: 29,
      createTime: '2024-01-02 10:00:00'
    }
  ],

  // 商品数据
  products: [
    {
      id: 1,
      name: '中医基础理论教材',
      categoryId: 1,
      cover: 'https://via.placeholder.com/300x300/3cc51f/ffffff?text=中医教材',
      images: 'https://via.placeholder.com/300x300/3cc51f/ffffff?text=中医教材',
      intro: '系统学习中医基础理论的权威教材',
      detail: '本书详细介绍了中医基础理论，包括阴阳五行、脏腑经络等核心概念...',
      price: 68,
      originalPrice: 88,
      stock: 100,
      sales: 120,
      status: 1,
      createTime: '2024-01-01 10:00:00'
    },
    {
      id: 2,
      name: '穴位按摩棒',
      categoryId: 2,
      cover: 'https://via.placeholder.com/300x300/ff6b35/ffffff?text=按摩棒',
      images: 'https://via.placeholder.com/300x300/ff6b35/ffffff?text=按摩棒',
      intro: '专业穴位按摩工具，精准刺激穴位',
      detail: '采用优质材料制作，手感舒适，适合家庭使用...',
      price: 39,
      originalPrice: 59,
      stock: 50,
      sales: 85,
      status: 1,
      createTime: '2024-01-02 10:00:00'
    }
  ],

  // 讲师数据
  lecturers: [
    {
      id: 1,
      name: '张教授',
      avatar: 'https://via.placeholder.com/100x100/3cc51f/ffffff?text=张',
      title: '中医主任医师',
      intro: '从事中医临床工作30余年，擅长中医内科、针灸等',
      orgId: 1,
      createTime: '2024-01-01 10:00:00'
    },
    {
      id: 2,
      name: '李老师',
      avatar: 'https://via.placeholder.com/100x100/ff6b35/ffffff?text=李',
      title: '针灸专家',
      intro: '针灸学博士，擅长穴位按摩和针灸治疗',
      orgId: 1,
      createTime: '2024-01-02 10:00:00'
    }
  ],

  // 机构数据
  organizations: [
    {
      id: 1,
      name: '北京中医药大学',
      logo: 'https://via.placeholder.com/100x100/3cc51f/ffffff?text=北中医',
      intro: '国内知名中医药大学，培养了大批中医人才',
      address: '北京市朝阳区',
      phone: '010-12345678',
      createTime: '2024-01-01 10:00:00'
    }
  ],

  // 订单数据
  orders: [
    {
      id: 1,
      orderNo: 'ZY202401010001',
      userId: 1,
      totalAmount: 99,
      payAmount: 99,
      discountAmount: 0,
      payType: 'wechat',
      status: 'paid',
      payTime: '2024-01-01 10:30:00',
      createTime: '2024-01-01 10:00:00'
    }
  ],

  // 消息数据
  messages: [
    {
      id: 1,
      userId: 1,
      title: '欢迎使用中医学习',
      content: '欢迎您使用中医学习小程序，开始您的中医学习之旅！',
      type: 'system',
      isRead: 0,
      createTime: '2024-01-01 10:00:00'
    }
  ]
}

module.exports = MockData
